package com.LearnInWorld.video.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 分类表
 */
@Data
@Table(name = "tb_category")
public class Category {
    @Id
    //分类ID
    @Column(name = "id")
    private Long id;
    //分类名称
    @Column(name = "name")
    private String name;
    //视频数量
    @Column(name = "video_num")
    private Long videoNum;
    //是否显示
    @Column(name = "is_show")
    private String isShow;
    @Column(name = "is_menu")
    //是否导航
    private String isMenu;
    //排序
    @Column(name = "seq")
    private Long seq;
    //模块ID
    @Column(name = "module_id")
    private Long moduleId;

    //

}
